package com.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dao.WlUserFDao;
import com.domain.ReWlUserF;
import com.pojo.WlUser;

@Service("WlUserFService")
public class WlUserFService {
	@Resource(name="WlUserFDao")
	private WlUserFDao wluserFDao;

	public WlUserFDao getWlnewFDao() {
		return wluserFDao;
	}

	public void setWlnewFDao(WlUserFDao wlnewFDao) {
		this.wluserFDao = wluserFDao;
	}

	public boolean isrename(String name) {
		// TODO Auto-generated method stub
		return wluserFDao.isrename(name);
	}

	public boolean saveUser(String name, String upwd, String utel) {
		// TODO Auto-generated method stub
		return wluserFDao.saveUser(name,upwd,utel);
	}

	public WlUser login(String name, String pwd1) {
		// TODO Auto-generated method stub
		return wluserFDao.login(name,pwd1);
	}
	
}
